package suanfa;

import java.beans.beancontext.BeanContext;
import java.io.*;
import java.net.Socket;

/**
 * @author zt
 * @date 2020-09-08 22:39
 */
public class TcpClient {
    public static void main(String[] args) throws IOException {
        Socket socket = new Socket("127.0.0.1", 10000);

        OutputStream os = socket.getOutputStream();
        byte[] bytes = {60,70};

        os.write(bytes);
        socket.close();
    }
}
